from April13th.pcU import *
import time
s=pcScrawler()
url="http://www.dili360.com/article/p5b864d95667fb85.htm"
picUrl=s.getImgUrl(url,selector="div > div > img")
for index,url in enumerate(picUrl):
    s.getImge(url,imgName="pict-"+str(index)+".jpg")
    print("DONE")
    time.sleep(1)
    # HomeSlider > div > div:nth-child(1) > a > img
    # fitt-analytics > div.bp-mobileTablet.bp-tablet.bp-mobileMDPlus.bp-mobileLGPlus.bp-tabletPlus.no-touch > div:nth-child(1) > div > div > div:nth-child(3) > div.GridListContainer > div.HomepagePromos.HomepagePromos--dark.HomepagePromos--noPreheading > div.HomepagePromos__row > div:nth-child(2) > div > div > div.BackgroundImage.ListItem__Image > span
    # natgeo-template1-frame-1-module-1 > div > div > section > article > section > div > div:nth-child(12) > aside > div > figure > div.Image__Wrapper.Image__Wrapper--relative > img
    # natgeo-template1-frame-1-module-1 > div > div > section > article > section > div > div:nth-child(8) > aside > div > figure > div.Image__Wrapper.Image__Wrapper--relative > img